#include <joyos.h>

#include "define.h"
#include "skunk.h"

void calibrateSkunkServo(){
	printf_P (PSTR("\nTake of the Gear and Adjust the Skunk to Open Position!"));
	go_click();
	servo_set_range(SERVO_SCORE, 0, 100);
	servo_set_pos(SERVO_SCORE, 0);
	printf_P (PSTR("\nReady.. Put it BACK NOW!"));	
}
void openSkunk(){
	servo_set_pos(SERVO_SCORE, 0);
}

void closeSkunk(){
	servo_set_pos(SERVO_SCORE, 100);
}